<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>刮刮卡</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
            background-color: #f0f0f0;
        }
        .scratch-card {
            position: relative;
            width: 300px;
            height: 200px;
            border: 2px solid #ccc;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 20px;
            cursor: pointer;
        }
        .scratch-card .front {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #ccc;
            border-radius: 10px;
            z-index: 2;
            transition: opacity 0.3s ease;
        }
        .scratch-card .back {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #f0f0f0;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #333;
            z-index: 1;
        }
        .scratch-card:hover .front {
            opacity: 0;
        }
    </style>
</head>
<body>
    <h1>刮刮卡</h1>
    <div class="scratch-card">
        <div class="front"></div>
        <div class="back">恭喜你！你赢得了奖品！</div>
    </div>
</body>
</html>